package alf.mapping.view.activity;

import alf.mapping.view.Util;
import alf.mapping.view.activity.R;
import alf.mapping.view.visuals.EditorEngine;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;

public class EditorStatusActivity extends SimpleAbstractActivity {
	EditorEngine editor;

	@Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
		setContentView(R.layout.editor_status);
		editor = EditorEngine.getInstance();
		String texto = "hola\nesto es un texto de prueba.";
		texto = editor.getStatus();
		//texto = "999999";
		Util.setText(this,R.id.item_text,texto);
    }
	
	public void onOk(View v) {
		setResult(RESULT_OK, getIntent());
		finish();
	}

}
